﻿using Model;
using Model.ShowViewPayment;
using System;
using System.Collections.Generic;
using System.Text;

namespace IDAL
{
   public  interface IPaymentDAL
    {
        /// <summary>
        /// 查询支付列表
        /// </summary>
        /// <returns></returns>
        List<ShowPaymentView> GetPayment(string name);

        /// <summary>
        /// 新增支付单
        /// </summary>
        /// <param name="p"></param>
        /// <returns></returns>
        int AddPayment(Payment p);

        /// <summary>
        /// 绑定病人编号下拉
        /// </summary>
        /// <returns></returns>
        List<Patient> BindPatient();

        /// <summary>
        /// 根据选中患者Id获取值（反填）
        /// </summary>
        /// <param name="num"></param>
        /// <returns></returns>
        List<FanTianView> FanTian(int fid);
        /// <summary>
        /// 绑定优惠方式
        /// </summary>
        /// <returns></returns>
        List<Discount> BangDiscount();

        List<ChargeType> BangChargeType();
    }
}
